package com.jiai.cloud.community.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;


/**
 * Created by Administrator on 2017/6/23.
 */
@TableName("t_catalog")
public class TCatalog  extends Model<TCatalog> {
    private static final long serialVersionUID = 1L;



    @TableId(value="catalogId", type= IdType.AUTO)
    private Integer catalogId;

    private String userId;

    private String catalog;

    private String saveCatalog;

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }
    public String getSaveCatalog() {
        return saveCatalog;
    }

    public void setSaveCatalog(String saveCatalog) {
        this.saveCatalog = saveCatalog;
    }

    public Integer getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Integer catalogId) {
        this.catalogId = catalogId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }



    @Override
    protected Serializable pkVal() {
            return this.catalogId;
    }
}
